DX11 SET COMPUTE SHADER SAMPLER STATE

Sets a sampler state to be used for sampling read-only textures associated with the given compute shader.
Up to 16 different constant sampler states can be set to slots 0 through 15.

  Syntax
DX11 SET COMPUTE SHADER SAMPLER STATE shader, slot, cbuffer
  Parameters
shader
Dword
The compute shader to set the sampler state for.
slot
Dword
The shader register slot to bind the sampler state to. The valid range is 0 through 15.
cbuffer
Dword
The sampler state to bind to the specified slot of the given compute shader.

  Returns

This function does not return a value.

  See also

DIRECTCOMPUTE Functions Menu
DX11 Function Categories